<extend name="Base/common_ionic"/>
<block name="style">
<style>
</style>
</block>

<block name="body">
    <div class="list card">
        <div class="item">
            <h1>淘省呗</h1>
        </div>
        <if condition="$clientid gt 2000 ">
        <div class="item">
            <h2>我的邀请码: {$clientid}</h2>
        </div>
        </if>
        <div class="item item-body">
            <img class="full-image" src="__IMG__/logo-512.png">
            <h2>淘省呗-网购优惠券汇集地，专注商品精选推荐，精心挑选全网优惠信息，实时更新优惠信息，让你网购花更少的钱买同样品质的宝贝。 还有更多返利优惠等你来拿。</h2>
        </div>
        <a class="item assertive item-icon-right" onclick="donwload()">前往下载 <i class="icon ion-ios-arrow-forward"></i></a>
    </div>
</block>

<block name="script">
<script src="__JS__/platform.js"></script>
<script>
    function donwload(){
        if('Android' === platform.os.family){
            //godo android appstore
            window.open("https://fir.im/jeud");
        }else if('iOS' === platform.os.family){
            window.open("https://itunes.apple.com/cn/app/%E6%B7%98%E7%9C%81%E5%91%97/id1318074583?l=en&mt=8");
        }
    }
</script>
</block>